<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>程序管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="./?/file&name=base.min.css">
    <link rel="icon" href="./?/file&name=logo.png">
    {CSS}
</head>
<body>
<div class="content">
    <div class="content-heading">
        <div class="container">
            <h2 class="text-center heading">程序管理</h2>

        </div>
    </div>
    <div class="container margin-top">
        <div style="margin-bottom: 50px;">
            <p class="content-sub-heading">修改管理员密码</p>
            <div class="form-group form-group-label" style="display: inline">
                <label for="AdminPassword">管理员密码：</label>
                <input class="form-control form-control-inline" id="AdminPassword" name="AdminPassword" type="text">
            </div>
            <a class="btn waves-button waves-effect waves-light margin-left" style="display: inline;" id="setAdminPassword">保存</a>
        </div>
        <hr>
        <div>
            <p class="content-sub-heading">IP访问记录设置</p>
            <div>
                <div class="form-group">
                    <div class="checkbox switch">
                        <label for="enableLogIP">
                            <input type="checkbox" id="enableLogIP" class="access-hide"><span class="switch-toggle"></span>
                            开启IP访问记录
                        </label>
                    </div>
                    <div class="checkbox switch">
                        <label for="enableLogIPEncrypt">
                            <input type="checkbox" id="enableLogIPEncrypt" class="access-hide"><span class="switch-toggle"></span>
                            开启加密存储
                        </label>
                    </div>
                </div>
                <a class="btn waves-button waves-effect waves-light" id="cleanLogIP">清空访问记录</a>
            </div>
        </div>
    </div>
</div>

<div class="footer">
    <p>Developed by SCH</p>
    <p>Chat-Lite {VERSION}<br>Running with PHP {PHPVERSION}</p>
</div>

<div>
    <button onclick="history.back();" style="position: fixed;top: 0;left: 0;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light"><span class="fa fa-arrow-left fa-2x"></span></button>
    <button id="back" onclick="window.open(`./?/`,`_self`)" style="position: fixed;top: 0;left: 84px;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light"><span class="fa fa-home fa-2x"></span></button>
    <button id="refresh" onclick="location.reload()" style="position: fixed;top: 0;left: 168px;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light"><span class="fa fa-refresh fa-2x"></span></button>
</div>
{SetColor}
<script src="./?/file&name=jquery.min.js"></script>
<script src="./?/file&name=jquery.cookie-1.4.1.min.js"></script>
<script src="./?/file&name=base.min.js"></script>
<script src="./?/file&name=SetColor.js"></script>
{JS}
</body>
</html>